package sample.stream.channel;

import org.springframework.cloud.stream.annotation.Input;
import org.springframework.messaging.SubscribableChannel;

public interface MySink {
    //myinput就是通道的名称
    public static final String INPUT = "myinput";

    @Input("myinput")
    SubscribableChannel input();
}
